package com.hand.wfive.adapter

import android.widget.TextView
import com.hand.wfive.R
import com.hand.wfive.entity.CommonModel
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class PopupListAdapter : BaseCheckPositionAdapter<CommonModel, BaseViewHolder>(R.layout.item_popup_window_list) {

    init {
        baseCheckPosition = 0
    }

    override fun convert(holder: BaseViewHolder, item: CommonModel) {
        val tvTitle = holder.getView<TextView>(R.id.tvTitle)
        tvTitle.text = item.title
//        tvTitle.isSelected = item.isSelect
    }
}